package rm.member.business.domain.convert;


import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;
import rm.member.business.domain.DO.ChangeDepositLgDetailDO;
import rm.member.business.domain.DO.OrderGoodsDetailListDo;
import rm.member.business.domain.DTO.OrderInfoDTO;

/**
 *  * N4--
 * OrderInfoDTO-->OrderGoodsDetailListDo
 */
@Mapper
public interface OrderInfoToOGDL {
    OrderInfoToOGDL INSTANCE = Mappers.getMapper(OrderInfoToOGDL.class);
    @Mappings({
            @Mapping(source = "orderGoodsList", target = "orderGoodsDetailDoList"),
    })
    OrderGoodsDetailListDo domain2dto(OrderInfoDTO orderInfoDTO);
}
